package hello;

import java.util.Scanner;

public class Pratice2 {
public static void main(String[] args) {
	Scanner in=new Scanner(System.in);
	System.out.println("请输入一个数");
	int n=in.nextInt();
	for(int i=1;i<=n;i++){
	int sum = 0;
	sum+=jc(i);
	}

	in.close();
}

public static int jc(int n) {
	if(n<2) return 1;
	return n*jc(n-1);
	
}
}
